package sun.superstring.staticmethod;

public class Student {
    private double score;
    public static void printHelloWorld(){
        System.out.println("Hello world!");
        System.out.println("Hello world!");
        System.out.println("Hello world!");
    }

    public void printPass(){
        System.out.println(score >= 60 ? "通过了" : "挂科了");
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }
}
